package cn.stylefeng.guns.modular.system.service;

import cn.stylefeng.guns.modular.system.dto.DeviceRecordQuery;
import cn.stylefeng.guns.modular.system.model.DeviceRecord;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.Optional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author swinyoung
 * @since 2018-11-25
 */
public interface IDeviceRecordService {

    Optional<DeviceRecord> selectById(String deviceTotalId);

    Object selectList(DeviceRecordQuery o);

    void insert(DeviceRecord deviceTotal);

    void deleteById(String deviceTotalId);

    void updateById(DeviceRecord deviceTotal);

    org.springframework.data.domain.Page<DeviceRecord> getDeviceRecords(Page page, DeviceRecordQuery query);
}
